#ifndef _VN_SFML_TILE_ENGINE_H_
#define _VN_SFML_TILE_ENGINE_H_

#include "..\Graphics\SFMLDrawable.h"
#include "TileEngine.h"
#include <string>
#include <vector>

namespace vn
{
	class SFMLTileEngine : public vn::SFMLDrawable, public vn::TileEngine
	{
	public:
		SFMLTileEngine(float);
		virtual ~SFMLTileEngine(void);

		virtual void draw(sf::RenderTexture&);
		virtual void draw(sf::RenderWindow&);

		virtual void loadTiles(const std::string&);
		virtual void setPosition(const vn::Vector2&);
		virtual void setDoRender(bool p_value);

	protected:
		std::vector<sf::Sprite> m_tiles;
	};
}

#endif // _VN_SFML_TILE_ENGINE_H_